<div class="menu_top">
	<input type="hidden" name="action" value="client_list" />
	<input type="submit" value="Add new client" class="buttons" style="padding-left:20px; padding-right:10px;  background-image: url('../images/system/new.gif'); border:1px solid #DDDDDD;" />&nbsp;&nbsp;
	Company Name:&nbsp;&nbsp;<input name="new_client" type="text" value="" maxlength="99" />
	<input type="submit" value="Save" style="padding-left:20px; padding-right:10px;  background-image: url('../images/system/save.gif'); border:1px solid #DDDDDD; height:20px;" class="buttons" />
</div>
<div class="menu_list">
<table id="menulist" class="item_list" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<th nowrap="nowrap">#&nbsp;ID&nbsp;&nbsp;</th>
		<th nowrap="nowrap">Name&nbsp;&nbsp;</th>
		<th nowrap="nowrap">Contact&nbsp;&nbsp;&nbsp;</th>
		<th nowrap="nowrap">E-Mail&nbsp;&nbsp;&nbsp;</th>
		<th nowrap="nowrap">MSN&nbsp;&nbsp;&nbsp;</th>
		<th nowrap="nowrap">Details</th>
	</tr>
	<?php 
	if($clients):
	foreach($clients as $client)
	{
	?>
	<tr class="items">
		<td nowrap="nowrap">#&nbsp;<input type="hidden" name="client_id[]" value="<?php echo $client['id']; ?>" /><?php echo $client['id']; ?></td>
		<td nowrap="nowrap"><input class="inp_txt" name="client_name[]" type="text" value="<?php echo $client['name']; ?>" maxlength="90" style="width: 140px;" /></td>
		<td nowrap="nowrap"><input class="inp_txt" name="client_contact[]" type="text" value="<?php echo $client['contact']; ?>" maxlength="90" /></td>
		<td nowrap="nowrap"><input class="inp_txt" name="client_email[]" type="text" value="<?php echo $client['email']; ?>" maxlength="90" style="width: 140px;" /></td>
		<td nowrap="nowrap"><input class="inp_txt" name="client_msn[]" type="text" value="<?php echo $client['msn']; ?>" maxlength="90" style="width: 140px;" /></td>
		<td nowrap="nowrap">
			<a href="?con=<?php echo $_REQUEST['con']; ?>&clientedit=<?php echo $client['id']; ?>"><img src="../images/system/templ.gif" border="0" /></a>&nbsp;
		</td>
	</tr>
	<?php
	}
	?>
</table>
</div>
<?php endif; ?>